<%@ page language="java" contentType="text/html; charset=utf-8" errorPage="/404.jsp" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <style type="text/css">
        @import url("<c:url value='/css/main.css'/>");
    </style>
    <title>房屋信息管理-房屋添加</title>
</head>
<body>

    <div class="div_main">
        <div class="div_header">房屋信息管理-房屋添加</div>

        <h1 align="center">
            <a href="${pageContext.request.contextPath}/house/list.action">
                返回首页
            </a>
        </h1>


        <form action="${pageContext.request.contextPath}/house/insertOne.action" method="post"
              enctype="multipart/form-data">
            <div class="div_data">
                <table class="tab_list">
                    <tr>
                        <th>地区</th>
                        <th>小区</th>
                        <th>单元</th>
                        <th>楼层</th>
                        <th>房号</th>
                        <th>面积</th>
                        <th>朝向</th>
                        <th>装修</th>
                        <th>是否有双气</th>
                        <th>限住人数</th>
                        <th>配套设施</th>
                        <th>日租</th>
                        <th>房屋状态</th>
                        <th>房屋图片</th>
                        <th>地址</th>
                        <th>操作</th>
                    </tr>
                    <tr>
                        <td>
                            <input type="text" name="harea" >
                        </td>
                        <td>
                            <input type="text" name="hcommunity" >
                        </td>
                        <td>
                            <input type="text" name="hunitnumber" >
                        </td>
                        <td>
                            <input type="number" name="hfloor" >
                        </td>
                        <td>
                            <input type="text" name="hroomno" >

                        </td>
                        <td>
                            <input type="text" name="hacreage" >

                        </td>
                        <td>
                            <input type="number" name="hdirection" >
                        </td>
                        <td>
                            <input type="number" name="hfitment" >
                        </td>
                        <td>
                            <input type="number" name="hisdoubleair" >
                        </td>
                        <td>
                            <input type="number" name="hlimit" >
                        </td>
                        <td>
                            <input type="text" name="hfacility" >
                        </td>
                        <td>
                            <input type="number" name="hprice" >
                        </td>
                        <td>
                            <input type="number" name="hstatus">
                        </td>

                        <td>
                            <input type="file" name="img">
                            &nbsp;

                        </td>
                        <td>
                            <input type="text" name="haddress" >
                        </td>

                        <td>
                            <input type="reset" value="重填">
                            &nbsp;&nbsp;
                            <input type="submit" value="提交更改">
                            &nbsp;&nbsp;
                        </td>
                    </tr>


                </table>
            </div>

        </form>


    </div>

</body>
</html>